package gogoqiu.java.base;

public class webDef {
    public static enum Hostname {
        repository("repository"),
        x1c("rdp"),
        x260("x260"),
        notepad("notepad"),
        desktop("desktop"),
        t937("t937"),
        t902("OFFICE"),
        aliyun("aliyun");

        // 存储枚举对应的字符串值
        private final String value;

        // 构造函数（私有，枚举内部使用）
        Hostname(String value) {
            this.value = value;
        }

        // 获取枚举对应的字符串值（类似 TS 中直接访问枚举值的效果）
        public String getValue() {
            return value;
        }
    }
    
    public static enum Domain {
        JD("jd.me"),
        EVE("eve.me"),
        UNKNOWN("unknown");

        private final String value;

        Domain(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    public static enum LanHostIP {
        repository("192.168.5.200"),
        x1c("192.168.5.172"),
        x260("127.0.0.1"),
        notepad("192.168.1.22"),
        desktop("192.168.1.72"),
        t937("192.168.1.31"),
        t902("192.168.1.91"),
        openwrt("192.168.5.1"),
        chinaTel("192.168.3.2"),
        localhost("127.0.0.1");        

        private final String value;

        LanHostIP(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    public static enum WanHostIP{
        aliyun("47.123.4.53");

        private final String value;

        WanHostIP(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    public static enum OffenHost{
        repository("repository"),        
        mydear("mydear"),
        aliyun("aliyun");

        private final String value;

        OffenHost(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }
}
